﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FazaDemoSolution.BL.Domain.AbstractCore;
using FazaDemo.BL.Services_;

namespace FazaDemo.BL.AppFacade
{
    public class SuppInfoReceiver : ISuppInfoReceiver
    {

        private readonly ISuppleTitleProvider _titleProvider;

        public SuppInfoReceiver()
        {
            _titleProvider = new SuppleTitleProvider();
        }

        public Tuple<string, string> GetSuppTitle(int id)
        {
            return _titleProvider.GetTitle(id);
        }

    }
}
